package edu.ccut.saturn.basecomponent.database;

import java.util.List;

import edu.ccut.saturn.basecomponent.database.util.FieldAndValueVO;
import edu.ccut.saturn.component.SaturnData;

/**
 * 
 * @author Tony Yan
 *
 */
public interface ISaturnSQL {
	
	public static final String INSERT_OPERATION = "INSERT";
	public static final String INSERT_SQLSERVER="INSERT_SQLSERVER";
	public static final String INSERT_LOB_OPERATION = "INSERT.LOB";
	
	public static final String DELETE_OPERATION = "DELETE";
	
	public static final String UPDATE_OPERATION = "UPDATE";
	public static final String UPDATE_LOB_OPERATION = "UPDATE.LOB";
	
	public static final String SELECT_OPERATION = "SELECT";
	public static final String SELECT_COUNT_OPERATION = "SELECT.COUNT";
	public static final String SELECT_LOB_OPERATION = "SELECT.LOB";
	
	public String getDBType();
	
	public String getSql();
	
	public void setSql(String sql);
	
	public SaturnData getSaturnData();
	
	public String getSaturnDataFullKey();
	
	public String getOperationType();
	
	public List<FieldAndValueVO> getConditionList();
	
	public void setConditionList(List<FieldAndValueVO> list);
	
	public int getEndIndex();
	
	public int getStartIndex();
	
}
